package com.huabo.contract.mysql.entity;

import java.math.BigDecimal;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * <p>
 * 
 * </p>
 *
 * @author huabo
 * @since 2022-03-14
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("TBL_CONTRACT_PLANNODE")
@ApiModel(value="TblContractPlannode对象", description="")
public class TblContractPlannodeMySql implements Serializable {
//对应收款项
    //付款计划
    private static final long serialVersionUID = 1L;

      @TableId("NODEID")
      @Id
      @GeneratedValue(strategy = GenerationType.IDENTITY,generator = "select HIBERNATE_SEQUENCE.nextval from dual")
      private BigDecimal nodeid;

    @TableField("NODECONTENT")//对应收款项
    private String nodecontent;//履行内容

    @TableField("PROJECTID")
    private BigDecimal projectid;

    @TableField("BLPROJECTID")
    private BigDecimal blprojectid;

    @TableField("PLANSTARTDATE")
    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date planstartdate;

    @TableField("PLANENDDATE")
    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date planenddate;//预计结束时间

    @TableField("NODEPOST")
    private String nodepost;

    @TableField("NODEPLANPAYDATE")
    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date nodeplanpaydate;//预计开始时间

    @TableField("DISPATCHSTAFF")
    private BigDecimal dispatchstaff;

    @TableField("DISPATCHDEPT")//履行情况
    private BigDecimal dispatchdept;

    @TableField("PLANNODESTATUS")
    private BigDecimal plannodestatus;

    @TableField("CONTRACTID")
    private BigDecimal contractid;
      @ApiModelProperty(value = "反馈意见")
      @TableField("FEEDBACK")
    private String feedback;
      @ApiModelProperty(value = "金额")
      @TableField("NODEMONEY")
    private BigDecimal nodemoney;//未付款金额
    @Transient
    private BigDecimal yfMoney;//金额
    @Transient
    private String realname;
    @Transient
    private String orgname;
    @Transient
    private BigDecimal jbstaffid;//执行人
    @Transient
    private BigDecimal jbunitid;//执行单位
    @Transient
    private BigDecimal tcpspnodeid;
    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Transient
    private Date tcsstartdate;
    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Transient
    private Date tcsenddate;
    @Transient
    private String tcsnodememo;
    @Transient
    private String tcsnodecontent;
    @Transient
    private String tcsnodepost;
    @Transient
    private String tcsnodemoney;
    @Transient
    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date tcsnodefinishdate;
    @Transient
    private String tcudctype;
    @Transient
    private String iswy;
}
